passthrough: make deassign_device() static
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 16 Aug 2019 17:19:52 +0000 (18:19 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Aug 2019 12:07:18 +0000 (13:07 +0100)
commite7664719304a597e97543e39907c9aa50da00731
tree6679e7704c57c17377ea77ec2c7750c82ebdfb7d
parent7aae9c1c916d1522001bc7f4ea1846c9d62bda8b
passthrough: make deassign_device() static

This function is only ever called from within the same source module and
really has no business being declared xen/iommu.h. This patch relocates
the function ahead of the first caller and makes it static.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/pci.c
xen/include/xen/iommu.h